@extends('layouts.app')
@section('content')
    {{--<heading>{{$user->name}} </heading>--}}
    <tig-profile-card :user="{{json_encode($user)}}"></tig-profile-card>
    <h2 class="font-normal my-6">作品</h2>
    @foreach($repositories as $repository)
        <tig-repository-item :repository="{{json_encode($repository)}}"></tig-repository-item>
    @endforeach
    {{$repositories->links()}}
@endsection